<?php
$x = 1;
function a() {
	echo $x;		// Undefined variable 
}

a();
?>